<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:67:"D:\phpStudy\WWW\mangmeshi/./application/admin\view\index\admin.html";i:1534583835;}*/ ?>
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:61:"G:\wamp64\www\EduWork\application\admin\view\index\admin.html";i:1462695975;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN" style="min-width: 1000px; overflow: hidden;">
    <head>
        <meta charset="utf-8">
        <title><?php echo $GlobalTitle; ?></title>
        <meta name="description" content="description">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/>
        <link rel="alternate icon" type="image/png" href="static/img/favicon.png">
        <link href="static/plugins/bootstrap/bootstrap.min.css" rel="stylesheet">
        <link href="static/plugins/bootstarp-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet">
        <link href="static/plugins/nprogress/nprogress.min.css" rel="stylesheet">
        <link href="static/plugins/easyui/themes/bootstrap/easyui.min.css" rel="stylesheet">
        <link href="static/css/style_v2.css" rel="stylesheet">
        <link href="static/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
        <link href="static/css/self.css" rel="stylesheet">
        <link href="static/plugins/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
        <link href="static/plugins/bootstrap-switch/bootstrap-switch.min.css" rel="stylesheet">
        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <link href="static/plugins/select2/select2.css" rel="stylesheet">
        <!--[if lt IE 9]>
        <script src="http://getbootstrap.com/docs-assets/js/html5shiv.js"></script>
        <script src="http://getbootstrap.com/docs-assets/js/respond.min.js"></script>
        <![endif]-->
    </head>
    <body>
        <!--Start Header-->
        <div id="screensaver">
            <canvas id="canvas"></canvas>
            <i class="fa fa-lock" id="screen_unlock"></i>
        </div>

        <!--ModelBox -->
        <div id="modalbox">
            <div class="devoops-modal">
                <div class="devoops-modal-header">
                    <div class="modal-header-name">
                        <span>Basic table</span>
                    </div>
                    <div class="box-icons">
                        <a class="close-link"> <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="devoops-modal-inner"></div>
                <div class="devoops-modal-bottom"></div>
            </div>
        </div>
        <!--ModelBox -->


        <div id="animation" data-open="<?php echo $openAnimation; ?>"></div>
        <header id="headernavbar" class="navbar">
            <div class="container-fluid expanded-panel">
                <div class="row">
                    <div id="logo"  class="col-xs-12 col-sm-2">
                        <a href="#"><?php echo $BackGroundTitle; ?></a>
                    </div>
                    <div id="top-panel" class="col-xs-12 col-sm-10">
                        <div class="row">
                            <div class="col-xs-8 col-sm-4">

                            </div>
                            <div class="col-xs-4 col-sm-10 top-panel-right">
                                <!--<a href="#" class="about" id="ghname" style="text-decoration:none;">校名:1</a>-->
								 <!--<a href="#" class="about" style="text-decoration:none;margin-left:120px;">EduWork官方群:155017360</a>-->
                                <ul class="nav navbar-nav pull-right panel-menu">


                                    <li class="dropdown">
                                        <a href="#" class="dropdown-toggle account" data-toggle="dropdown">
                                            <span class="avatar">
                                                <?php if($user['avatar']==''): ?>
                                                <img src="static/img/userpic/avatar.jpg" class="img-circle" alt="avatar"/>
                                                <?php else: ?>
                                                <img src="<?php echo $user['avatar']; ?>" class="img-circle" alt="avatar"/>
                                                <?php endif; ?>
                                            </span>
                                            <i class="fa fa-angle-down pull-right"></i>
                                            <div class="user-mini pull-right">
                                                <span class="welcome">欢迎,</span> <span><?php echo $user['relname']; ?></span>
                                            </div>
                                        </a>
                                        <ul class="dropdown-menu">
                                            <li><a class="top-link" href="#" id="personinfo_manage"> <i class="fa fa-user"></i>
                                                    <span>个人信息</span>
                                                </a></li>
                                            <li><a class="top-link" href="#" id="personal_setting"> <i class="fa fa-cog"></i>
                                                    <span>个人设置</span>
                                                </a></li>
                                            <li><a class="top-link" href="#" id="change_password"> <i class="fa fa-cog"></i>
                                                <span>修改密码</span>
                                            </a></li>
                                            <li><a class="top-link" href="#" id="change_phone"> <i class="fa fa-cog"></i>
                                                <span>更换手机号</span>
                                            </a></li>


                                            <li><a href="javascript:logout();"> <i class="fa fa-power-off"></i> <span>退出</span>
                                                </a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </header>
        <!--End Header-->
        <!--Start Container-->
        <div id="main" class="container-fluid">
            <div class="row">
                <div id="sidebar-left"
                     class="col-xs-2 col-sm-2<?php if($openAnimation == 1): ?> animated fadeInLeft<?php endif; ?>">
                    <ul class="nav main-menu" id="nav-main-menu">
                        <!--首页仪表盘 系统概况-->
                        <li>
                            <a href="dashboard" class="ajax-link"> <i class="<?php echo $menuicons['dashboard']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['dashboard']; ?></span></a>
                        </li>

                        <!-- 用户管理 -->
                        <li>
                            <a href="user_manage" class="ajax-link"> <i class="<?php echo $menuicons['user']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['user']; ?></span></a>
                        </li>
                        <!-- 职位管理 -->
                        <li>
                            <a href="job" class="ajax-link"> <i class="<?php echo $menuicons['job']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['job']; ?></span></a>
                        </li>
                        <!-- 圈子管理 -->
                        <li>
                            <a href="circle" class="ajax-link"> <i class="<?php echo $menuicons['circle']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['circle']; ?></span></a>
                        </li>
                        <!-- 忙友秀 -->
                        <li>
                            <a href="show" class="ajax-link"> <i class="<?php echo $menuicons['show']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['show']; ?></span></a>
                        </li>
                        <!-- 交易记录 -->
                        <li>
                            <a href="deal" class="ajax-link"> <i class="<?php echo $menuicons['deal']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['deal']; ?></span></a>
                        </li>
                        <!-- 大学生、新生活等仨 -->
                        <li>
                            <a href="life_three" class="ajax-link"> <i class="<?php echo $menuicons['life_three']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['life_three']; ?></span></a>
                        </li>
                        <!-- 评论管理 front_office-->
                        <!--<li class="dropdown"><a href="javascript:;" class="dropdown-toggle"> <i-->
                                <!--class="<?php echo $menuicons['message']; ?>"></i>-->
                            <!--<span class="hidden-xs"><?php echo $menunames['message']; ?></span>-->
                        <!--</a>-->
                            <!--<ul class="dropdown-menu">-->
                                <!--<li><a class="ajax-link" href="message_job"><i-->
                                        <!--class="<?php echo $menuicons['message_job']; ?>"></i><?php echo $menunames['message_job']; ?>-->
                                <!--</a>-->
                                <!--</li>-->
                                <!--<li><a class="ajax-link" href="message_jobtwo"><i-->
                                        <!--class="<?php echo $menuicons['message_jobtwo']; ?>"></i><?php echo $menunames['message_jobtwo']; ?>-->
                                <!--</a>-->
                                <!--</li>-->
                                <!--<li><a class="ajax-link" href="message_circle"><i-->
                                        <!--class="<?php echo $menuicons['message_circle']; ?>"></i><?php echo $menunames['message_circle']; ?>-->
                                <!--</a>-->
                                <!--</li>-->
                            <!--</ul>-->
                        <!--</li>-->
                        <!-- 资讯管理 -->
                        <li>
                            <a href="life" class="ajax-link"> <i class="<?php echo $menuicons['life']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['life']; ?></span></a>
                        </li>
                         <!-- 资讯类别管理 -->
                        <li>
                            <a href="life_type" class="ajax-link"> <i class="<?php echo $menuicons['life_type']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['life_type']; ?></span></a>
                        </li>
                        <!-- 轮播管理 -->
                        <li>
                            <a href="lunbo" class="ajax-link"> <i class="<?php echo $menuicons['lunbo']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['lunbo']; ?></span></a>
                        </li>
                        <!-- 群组管理 -->
                        <li>
                            <a href="groups" class="ajax-link"> <i class="<?php echo $menuicons['groups']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['groups']; ?></span></a>
                        </li>
                        <!-- 公告管理 -->
                        <li>
                            <a href="notice" class="ajax-link"> <i class="<?php echo $menuicons['notice']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['notice']; ?></span></a>
                        </li>
                        <!-- 试题管理 -->
                        <li>
                            <a href="train" class="ajax-link"> <i class="<?php echo $menuicons['train']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['train']; ?></span></a>
                        </li>
                         <!-- TODO:关于我们：暂时关闭，如果后台控制，打开即可 -->
                        <!--<li>-->
                            <!--<a href="aboutus" class="ajax-link"> <i class="<?php echo $menuicons['aboutus']; ?>"></i> <span-->
                                    <!--class="hidden-xs"><?php echo $menunames['aboutus']; ?></span></a>-->
                        <!--</li>-->


                        <!-- BUG反馈 -->
                        <li>
                            <a href="feedback" class="ajax-link"> <i class="<?php echo $menuicons['feedback']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['feedback']; ?></span></a>
                        </li>
                        <!-- 系统设置 -->
                        <li>
                            <a href="personal_settings" class="ajax-link"> <i class="<?php echo $menuicons['system_settings']; ?>"></i> <span
                                    class="hidden-xs"><?php echo $menunames['system_settings']; ?></span></a>
                        </li>
                        <!--end-->
                        <li class="dropdown"><a href="javascript:logout();" class="dropdown-toggle"> <i
                                    class="<?php echo $menuicons['javascript:logout();']; ?>"></i> <?php echo $menunames['javascript:logout();']; ?>
                            </a>
                        </li>
                    </ul>
                </div>
                <!--Start Content-->
                <div id="content" class="col-xs-12 col-sm-10" style="overflow: auto;">
                    <div id="about">
                        <div class="about-inner"></div>
                    </div>
                    <div id="preloader" class="preloader">
                        <img src="static/img/devoops_getdata.gif" class="devoops-getdata" alt="preloader"/>
                    </div>
                    <div id="ajax-content" class="<?php if($openAnimation == 1): ?> animated fadeInRight<?php endif; ?>">
                    </div>
                </div>
                <!--End Content-->
             </div>
        </div>
         <script>
            function toSelectCampus(to,p){
                 var myForm = document.createElement("form");
                 myForm.method = "post";
                 myForm.action = to;

                document.body.appendChild(myForm);
                myForm.submit();
                document.body.removeChild(myForm);  // 提交后移除创建的form
            }

        </script>
        <!--End Container-->
        <script src="static/plugins/jquery/jquery.min.js"></script>
        <script src="static/plugins/bootstrap/bootstrap.min.js"></script>
        <script src="static/plugins/bootstarp-datepicker/js/bootstrap-datepicker.js"></script>
        <script src="static/plugins/bootstarp-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
        <script src="static/plugins/easyui/jquery.easyui.min.js"></script>
        <!--<script src="static/plugins/easyui/plugins/datagrid-expand.js"></script>-->
        <script src="static/plugins/nprogress/nprogress.min.js"></script>
        <script src="static/js/TeachDialog.js"></script>
        <script src="static/js/devoops.js"></script>
        <script src="static/plugins/jquery-autocomplete/jquery.autocomplete.min.js"></script>
        <script src="static/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
        <script src="static/plugins/bootstrap-switch/bootstrap-switch.min.js"> </script>
        <!--<script src="static/plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.fr.js"></script>-->
        <script src="static/js/layer/layer.js"></script>
        <script src="static/plugins/select2/select2.min.js"></script>
        <script src="static/plugins/select2/select2_locale_zh-CN.js"></script>
        <script>
			    //查看到课情况
    $('#ghname').click(function () {
        var content = "";
        $.ajax({
            url: 'admin/Admin/ghname',
            data: "id=" + 1,
            type: 'POST',
            dataType: 'HTML',//返回的数据类型
            success: function (updatemodalhtml) {
                content = updatemodalhtml;
                //弹出修改框
                $.TeachDialog({
                    title: '请命名校区的名称',
                    content: content,
                    showCloseButton: true,
                    showCloseButtonName: '关闭',
                    otherButtons: ['保存'],
                    otherButtonStyles: ['btn-primary'],
                    clickButton: function (sender, modal, index) {
                        $.ajax({
                            url: 'admin/admin/mark',
                            data: "name="+$("input[name='name']").val()+'&id='+$("input[name='id']").val(),
                            type: 'POST',
                            dataType: 'JSON',
                            success: function (returnData) {
                                if (returnData.status == 0) {
                                    $.TeachDialog({
                                        content: returnData.msg
                                    });
                                } else {
                                    modal.modal('hide');
                                    $.TeachDialog({
                                        content: returnData.msg
                                    });
                                 location.href='';
                                }
                            },
                            error: function () {
                                $.TeachDialog({
                                    content: '系统异常，请联系管理员'
                                });
                            },

                        });

                    },
                });
            },
            error: function () {
                $.TeachDialog({
                    content: '系统异常，请联系管理员'
                });
                return;
            }
        });
    })


		</script>

    </body>

</html>
